package com.hs.homework_01.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * (User)实体类
 *
 * @author makejava
 * @since 2023-08-15 18:42:05
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel
public class User implements Serializable {
    private static final long serialVersionUID = 975594772326269886L;
    @ApiModelProperty(name = "id", value = "用户Id")
    private Integer id;
    @ApiModelProperty(name = "username", value = "用户名")
    private String username;
    @ApiModelProperty(name = "password", value = "用户密码")
    private String password;
    @ApiModelProperty(name = "state", value = "用户是否可用")
    private Integer state;
}

